package com.hibase.core.sequence.entity.vo;

import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 流水号通配符规则表
 * </p>
 *
 * @author chenfeng
 * @since 2021-01-19
 */
@Data
@HibaseValid
@ApiModel(value="MdsCodeSequenceRegexListVO对象", description="流水号通配符规则表列表展示VO")
public class MdsCodeSequenceRegexListVO {

    @ApiModelProperty(value = "流水表ID")
    private String sequenceId;

    @ApiModelProperty(value = "前缀")
    private String fix;

    @ApiModelProperty(value = "当前值")
    private String curStep;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "创建人名称")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人名称")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否已删除（0 正常，1 已删除）")
    private Boolean beDeleted;

    /**
     * 类型名称
     */
    @ApiModelProperty(value = "类型名称")
    private String sequenceType;

    /**
     * 流水号长度
     */
    @ApiModelProperty(value = "流水号长度")
    private Integer codeLength;

    /**
     * 日期格式
     */
    @ApiModelProperty(value = "日期格式")
    private String formatStr;

    /**
     * 增长步长
     */
    @ApiModelProperty(value = "增长步长")
    private Integer incrementStep;

    /**
     * 最大值
     */
    @ApiModelProperty(value = "最大值")
    private String maxValue;

    /**
     * 进制单位
     */
    @ApiModelProperty(value = "进制单位")
    private String scale;
}
